package com.wei.tang.ui;

import com.wei.tang.R;
import com.wei.tang.fragment.CourseInformationFragment;
import com.wei.tang.fragment.FindInformationFragment;
import com.wei.tang.fragment.MyInformationFragment;
import com.wei.tang.fragment.TalkInformationFragment;

public enum MainTab {

	COURSE(1, R.string.main_tab_course, R.drawable.tab_icon_new, CourseInformationFragment.class),

//	FIND(2, R.string.main_tab_find, R.drawable.tab_icon_explore, FindInformationFragment.class),

	TALK(3, R.string.main_tab_talk, R.drawable.tab_icon_tweet, TalkInformationFragment.class),

	ME(4, R.string.main_tab_me, R.drawable.tab_icon_me, MyInformationFragment.class);

	private int idx;
	private int resName;
	private int resIcon;
	private Class<?> clz;

	private MainTab(int idx, int resName, int resIcon, Class<?> clz) {
		this.idx = idx;
		this.resName = resName;
		this.resIcon = resIcon;
		this.clz = clz;
	}

	public int getIdx() {
		return idx;
	}

	public void setIdx(int idx) {
		this.idx = idx;
	}

	public int getResName() {
		return resName;
	}

	public void setResName(int resName) {
		this.resName = resName;
	}

	public int getResIcon() {
		return resIcon;
	}

	public void setResIcon(int resIcon) {
		this.resIcon = resIcon;
	}

	public Class<?> getClz() {
		return clz;
	}

	public void setClz(Class<?> clz) {
		this.clz = clz;
	}
}
